package com.ruoyi.worker.domain.workAttendance.vo;

import com.ruoyi.worker.domain.workAttendance.AttendanceDailyRecord;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @ClassName AttendanceMonthRecordVo
 * @Description 月考勤信息导出实体类
 * @Author leizhang
 * Date 2021/11/25 1:37 下午
 * @Version 1.0
 **/
@Data
@ToString
public class AttendanceMonthRecordVo {
    private String staffName;
    private String idCard;
    private String postName;
    private String group;
    private List<AttendanceMonthRecordDto> attendanceMonthRecordDtoList;
    public AttendanceMonthRecordVo(AttendanceDailyRecord attendanceDailyRecord) {
        staffName = attendanceDailyRecord.getStaffName();
        idCard = attendanceDailyRecord.getIdCard();
        postName = attendanceDailyRecord.getPostName();
    }
}

